<!-- $Id: msg_info.htm 16854 2009-12-07 06:20:09Z sxc_shop $ -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ECSHOP 管理中心 - 回复 </title>
<base href="__STATIC__/admin/" />
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="styles/general.css" rel="stylesheet" type="text/css" />
<link href="styles/main.css" rel="stylesheet" type="text/css" />
<style>
  .panel-icloud .panel-right iframe {
    height: 300px;
    margin-top: 15px;
  }
  .panel-hint{
    top: 3%;
  }
</style>


</head>
<body>
<h1>
  	<span class="action-span"><a href="user_msg.php?act=list_all">会员留言</a></span>

<span class="action-span1"><a href="index.php?act=main">ECSHOP 管理中心</a> </span><span id="search_id" class="action-span1"> &nbsp;&nbsp;&nbsp;&nbsp; 回复 </span>
<div style="clear:both"></div>
</h1><div class="main-div">
  <table width="98%">
    <tr>
      <td style="padding: 0px 20px">
        <h3><?php echo $msg["msg_title"]; ?></h3>
        <hr size="1" />
        <div><?php echo $msg["msg_content"]; ?></div>
                <div align="right"  nowrap="nowrap">【 留言板 】<a href="mailto:<?php echo $msg['user_email']; ?>"><?php echo $msg["user_name"]; ?></a> @ 2009-05-12 13:46:37</div>
      </td>
    </tr>
    <tr>
       <!-- s -->
    </tr>
  </table>
</div>

<div class="main-div">
  <table width="98%">
    <tr>
      <td style="padding: 0px 20px">
        <h3>admin 回复:</h3>
        <hr size="1" />
        <div id="list"></div>
      </td>
    </tr>
  </table>
</div>



<div class="main-div">
<form method="post" action="{:url('Admin/Member/member_reply')}" name="theForm"  onsubmit="return validate()">
<table border="0" width="98%">
  <tr>
    <td>email:</td>
    <td><input name="user_email" id="user_email"  type="text" value="<?php echo $msg["user_email"]; ?>"></td>
  </tr>
  <tr>
    <td>回复内容:</td>
    <td rowspan="2"><textarea name="msg_content" cols="50" rows="4" wrap="VIRTUAL" id="msg_content"></textarea></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td></td>
    <td><input name="send_email_notice" type="checkbox" value='1'/>邮件通知&nbsp;&nbsp;&nbsp;&nbsp;<br />提示: 此条留言已有回复, 如果继续回复将更新原来回复的内容!</td>
    <td></td>
  </tr>
    <tr>
    <td>&nbsp;</td>
    <td>
      <input type="hidden" name="msg_id" value="1">      
      <input type="hidden" name="parent_id" value="">
      <input name="button" value=" 确定 " type="button" class="button" lang="<?php echo $msg["msg_id"]; ?>" kk="<?php echo $msg["order_id"]; ?>">
      <input type="reset" value=" 重置 " class="button">
          </td>
  </tr>
</table>
</form>
</div>

</body>
<script src="jquery.js"></script>
<script>
    $("input[name='button']").on('click',function(){
        var msg_content=$("#msg_content").val();
        var obj=$(this);
        var msg_id=obj.attr("lang");
        var order_id=obj.attr("kk");
        $("#list").html(msg_content)
        $.ajax({
            url:"{:url('Admin/Member/select_xq_edit')}",
            data:{msg_id:msg_id,order_id:order_id},
            type:"post",
            dataType:"json",
            success:function(e){

            }
        })
    })
</script>
</html>